package com.example.leaveplushjava.service;


import com.example.leaveplushjava.ThrowData.Result;
import com.example.leaveplushjava.domain.LeaveDomain;

import java.util.List;

public interface LeaveService {
    /**
     * 添加留言
     */

    Result addLeave(LeaveDomain leaveDomain);

    /**
     * 查询留言
     */
    Result listLeave(LeaveDomain leaveDomain);
}
